package com.huakang.mapper;

import com.huakang.entity.Sickbed;
import com.huakang.entity.Sickbedroom;
import com.huakang.entity.SickbedroomExample;
import java.util.List;

import com.huakang.entity.Sickroom;
import org.apache.ibatis.annotations.Param;

public interface SickbedroomMapper {
    long countByExample(SickbedroomExample example);

    int deleteByExample(SickbedroomExample example);

    int deleteByPrimaryKey(Integer brid);

    int insert(Sickbedroom record);

    int insertSelective(Sickbedroom record);

    List<Sickbedroom> selectByExample(SickbedroomExample example);

    Sickbedroom selectByPrimaryKey(Integer brid);

    int updateByExampleSelective(@Param("record") Sickbedroom record, @Param("example") SickbedroomExample example);

    int updateByExample(@Param("record") Sickbedroom record, @Param("example") SickbedroomExample example);

    int updateByPrimaryKeySelective(Sickbedroom record);

    int updateByPrimaryKey(Sickbedroom record);

    List<Sickbed> selectSickbed(Integer srid);

    boolean deleteBidSrid(@Param("srid") Integer srid, @Param("bid") Integer bid);
}